<!--
  描述：故障现象详情页
  @author chengguang
  @since 2021/11/18 17:54
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss2">
    <title>新增或编辑分类</title>
</head>
<body>

<div class="layui-fluid">


    <div class="layui-card">
        <form method="post" action="" class="layui-form" lay-filter="zmn-form">

            <input type="hidden" name="phenId" th:value="${phenomenon.phenId}"/>

            <div class="layui-card-header" style="margin-top:10px;"><b>基本信息</b></div>
            <div class="layui-split">&nbsp;</div>

            <div class="layui-form-item">
                <label class="layui-form-label layui-form-required">故障现象名称：</label>
                <div class="layui-input-block">
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="phenName" th:value="${phenomenon.phenName}" placeholder=""
                               lay-verify="required" autocomplete="off" class="layui-input" maxlength="20"/>
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label layui-form-required">检修时长：</label>
                <div class="layui-input-block">
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="maintainTime" th:value="${phenomenon.maintainTime}" placeholder=""
                               lay-verify="maintainTime" autocomplete="off" class="layui-input" maxlength="10"/>
                    </div>
                    <div>
                        <label style="color: #9F9F9F;width: 400px">单位：分钟 正整数</label>
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">排序：</label>
                <div class="layui-input-block">
                    <div class="layui-input-inline" style="width: 200px">
                        <input type="text" name="sort" th:value="${phenomenon.sort}" placeholder=""
                               lay-verify="sort"
                               autocomplete="off" class="layui-input" maxlength="9"/>
                    </div>
                    <div>
                        <label style="color: #9F9F9F;width: 400px">排序值越小越靠前展示</label>
                    </div>
                </div>
            </div>


            <div class="layui-split">&nbsp;</div>
            <div class="layui-form-item layui-layout-admin">
                <div class="layui-input-block">
                    <div class="layui-footer" style="left: 0;">
                        <button class="layui-btn" lay-submit="" lay-filter="zmn-form-submit">提交
                        </button>
                        <button onclick="zmnLayUtil.closeThisIframe(parent,{reloadPage: true})"
                                class="layui-btn layui-btn-primary" id="cancel">取消
                        </button>
                    </div>
                </div>
            </div>

        </form>

    </div>

</div>

<script type="text/javascript" th:inline="javascript">

    var json = {
        Phenomenon: [[${phenomenon}]]
    };

    layui.config({
        base: "/static/lay/"
    }).extend({
        index: "lib/index",
        plat_phenomenon_detail: "base/phenomenon/zmn.plat.phenomenon.edit",
    }).use(['index', 'plat_phenomenon_detail']);

</script>
</body>
</html>